package com.smart_campus.sys.domain;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Alfred
 * @date 2020/6/8 19:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu implements Serializable {
    /**
     * 主键
     */
    private Integer id;

    /**
     * 父级菜单
     */
    private Integer pid;

    /**
     * 类型
     */
    private String type;

    /**
     * topmenu:system/business
     * permission:menu:addMenu
     * topmenu:system/business
     * permission:menu:addMenu
     * topmenu:system/business
     * permission:menu:addMenu
     * 权限编码
     */
    private String typecode;

    /**
     * 名称
     */
    private String title;

    /**
     * 图标
     */
    private String icon;

    /**
     * 链接地址
     */
    private String href;

    private String target;

    /**
     * 是否展开
     */
    private Integer spread;

    /**
     * 排序码
     */
    private Integer ordernum;

    /**
     * 是否可用
     */
    private Integer available;

    private static final long serialVersionUID = 1L;
}